package com.nbsaas.boot.cms.rest.convert;

import com.nbsaas.boot.cms.data.entity.ArticleTagRelation;
import com.nbsaas.boot.cms.api.domain.simple.ArticleTagRelationSimple;

import com.nbsaas.boot.rest.api.Converter;

/**
* 文章标签关联-列表对象转换器
*/

public class ArticleTagRelationSimpleConvert implements Converter<ArticleTagRelationSimple, ArticleTagRelation> {




@Override
public ArticleTagRelationSimple convert(ArticleTagRelation source) {
    ArticleTagRelationSimple result = new ArticleTagRelationSimple();

                result.setTagId(source.getTagId());
                result.setArticleId(source.getArticleId());
                result.setSort(source.getSort());
                result.setId(source.getId());
                result.setAddDate(source.getAddDate());
                result.setLastDate(source.getLastDate());


    return result;
}

}